package object;
/**
 * This is the class of Token to describe Token in our compiler
 * It has 2 normal field: tokenName and attributeValue.
 * @author YaoXiao
 * @version 0.0
 * @date 17/09/2013
 */

public class Token {
	private String tokenName = "";
	private String attributeValue = "";
	
	public Token() {	}
	
	public Token(String tokenName, String attributeValue ){
		this.tokenName = tokenName;
		this.attributeValue = attributeValue;
	}
	
	public String toString(){
		return tokenName + "\t\t\t" + attributeValue + "\r\n";
	}

}
